Builder

constructor(@NonNull id: String, importance: Int)(source)

Creates a notification channel builder.

Parameters

id

The id of the channel. Must be unique per package. The value may be truncated if it is too long.

importance

The importance of the channel. This controls how interruptive notifications posted to this channel are.